wfm-ux
Patch ProductById (Update CPE)- (TMF637-PATCH)
This operation allows to update and associate the CPE with Product on Inventory for JM
Key Considerations for JM(FTTH Implementation)
- ServiceOrderNo should be open and in the installation department (function code is 10) and mandatory to send.
- We are not considering the use case replacing the already installed equipment's.
- productSerialNumber length must be 5(min) to 20(Max) digits length for FTTH services and mandatory to send.
- BillingAccount is mandatory to pass from input payload.
- servType, servNo, uniqueServId, MacAddress, custProdNo, ModelNumber are manadtory to pass from input payload under productCharacteristic array.
- serviceNumber should be mandatory and must be in the format of "8767775772". We should not add +1 to the serviceNumber for voice services. For other service types please send as is.
URL
https://nonprod.esb.cloud.lla.com/test/wfm-ux/wfm-ux/v1/{businessId}/product/{id}
URI Params
name | type | description | required |
---|---|---|---|
businessId | string | 2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit. | Y |
id | string | Unique identifier of the product | Y |
Headers
name | type | description | required |
---|---|---|---|
client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. | Y |
departmentCode | string | departmentCode | Y |
faultInd | boolean | if we pass this as "Y" then the old MAC Address will be treated as Faulty. Used for swapCases. If the order is a new Install then should be "N" | N |
cURL request
curl --location --request PATCH 'https://nonprod.esb.cloud.lla.com/dev/wfm-ux/wfm-ux/v1/JM/product/13788' \
--header 'departmentCode: KNI' \
--header 'client_id: 11234123412341234' \
--header 'client_secret: 11234123412341234' \
--header 'X-Correlation-ID: f6ebd35b-e1c9-4976-b0fe-7dff90d5e34e' \
--header 'faultInd: false' \
--header 'Content-Type: application/json' \
--data-raw '{
"productSerialNumber": "E8:1B:69:8D:53:B4",
"productOrderItem": {
"productOrderId": "HO4209B"
},
"billingAccount": {
"id": "221219910000"
},
"productCharacteristic": [
{
"name": "servType",
"valueType": "string",
"value": "TP"
},
{
"name": "servNo",
"valueType": "string",
"value": "8769778252"
},
{
"name": "uniqueServId",
"valueType": "string",
"value": "31554474"
},
{
"name": "MacAddress",
"valueType": "string",
"value": "53434F4D36B04E4F"
},
{
"name": "custProdNo",
"valueType": "string",
"value": "612514410"
},
{
"name": "ModelNumber",
"valueType": "string",
"value": "Sercomm FG1100R ONT"
}
],
"@baseType": "Product",
"@type": "Product"
}'
Response
{
"code": "202",
"message": "Successfully updated"
}